<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class RealmBase</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class RealmBase</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|											<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">RealmBase class</p>
<p class="description"><p>Simple implementation of <strong>Realm</strong> that reads an XML file to configure  the valid users, passwords, and roles.  The file format (and default file  location) are identical to those currently supported by Tomcat 3.X.</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Jeroen Simons &lt;<a href="mailto:jeroen@melange.nl">jeroen@melange.nl</a>&gt;</li>
				<li><span class="field">copyright:</span> Copyright (c) 2007 Jeroen Simons. All rights reserved</li>
				<li><span class="field">link:</span> <a href="http://www.melange.nl/">http://www.melange.nl/</a></li>
				<li><span class="field">abstract:</span> </li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_aas---realm---RealmBase.php.html">/aas/realm/RealmBase.php</a> (line <span class="field">39</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
								|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../aas/MemoryRealm.html">MemoryRealm</a></td>
					<td>
											MemoryRealm class
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../aas/MySQLRealm.html">MySQLRealm</a></td>
					<td>
											MySQLRealm class
										</td>
				</tr>
							</table>
		</div>
	</div>


	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$container" title="details" class="var-name">$container</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$digest" title="details" class="var-name">$digest</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$md" title="details" class="var-name">$md</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$started" title="details" class="var-name">$started</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																																				
												<div class="method-definition">
											<span class="method-result">RealmBase</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#authenticate" title="details" class="method-name">authenticate</a>
											(<span class="var-type">username</span>&nbsp;<span class="var-name">$username</span>, <span class="var-type">credentials</span>&nbsp;<span class="var-name">$credentials</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#digest" title="details" class="method-name">digest</a>
											(<span class="var-type">credentials</span>&nbsp;<span class="var-name">$credentials</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getApplicationContext" title="details" class="method-name">getApplicationContext</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getContainer" title="details" class="method-name">getContainer</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getDigest" title="details" class="method-name">getDigest</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getName" title="details" class="method-name">getName</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getPassword" title="details" class="method-name">getPassword</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$username</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getPrincipal" title="details" class="method-name">getPrincipal</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$username</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getValidate" title="details" class="method-name">getValidate</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#hasMessageDigest" title="details" class="method-name">hasMessageDigest</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#hasRole" title="details" class="method-name">hasRole</a>
											(<span class="var-type"><a href="../aas/GenericPrincipal.html">GenericPrincipal</a></span>&nbsp;<span class="var-name">$principal</span>, <span class="var-type">role</span>&nbsp;<span class="var-name">$role</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setApplicationContext" title="details" class="method-name">setApplicationContext</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$applicationContext</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setContainer" title="details" class="method-name">setContainer</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$container</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setDigest" title="details" class="method-name">setDigest</a>
											(<span class="var-type">digest</span>&nbsp;<span class="var-name">$digest</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setValidate" title="details" class="method-name">setValidate</a>
											(<span class="var-type">validate</span>&nbsp;<span class="var-name">$validate</span>)
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$container" id="$container"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$container</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">54</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The Container with which this Realm is associated.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$digest" id="$digest"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$digest</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">63</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Digest algorithm used in storing passwords in a non-plaintext format.</p>
<p class="description"><p>Valid values are those accepted for the algorithm name by the  MessageDigest class, or <div class="src-code"><ol><li><div class="src-line"><span class="src-id">null</span></div></li>
</ol></div> if no digesting should  be performed.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$md" id="$md"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$md</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">69</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The MessageDigest object for digesting user credentials (passwords).</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$started" id="$started"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$started</span>
			 = <span class="var-default"> false</span>			(line <span class="line-number">75</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Has this component been started?</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">82</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">RealmBase</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../aas/MemoryRealm.html#method__construct">MemoryRealm::__construct()</a>
							</li>
					<li>
				<a href="../aas/MySQLRealm.html#method__construct">MySQLRealm::__construct()</a>
							</li>
				</ul>
	</div>
<a name="methodauthenticate" id="authenticate"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">authenticate</span> (line <span class="line-number">179</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the Principal associated with the specified username and  credentials, if there is one; otherwise return <div class="src-code"><ol><li><div class="src-line"><span class="src-id">null</span></div></li>
</ol></div>.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			authenticate
		</span>
					(<span class="var-type">username</span>&nbsp;<span class="var-name">$username</span>, <span class="var-type">credentials</span>&nbsp;<span class="var-name">$credentials</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">username</span>
				<span class="var-name">$username</span><span class="var-description">: Username of the Principal to look up</span>			</li>
					<li>
				<span class="var-type">credentials</span>
				<span class="var-name">$credentials</span><span class="var-description">: Password or other credentials to use in   authenticating this username</span>			</li>
				</ul>
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../aas/MemoryRealm.html#methodauthenticate">MemoryRealm::authenticate()</a>
								: Return the Principal associated with the specified username and  credentials, if there is one; otherwise return <div class="src-code"><ol><li><div class="src-line"><span class="src-id">null</span></div></li>
</ol></div>.
							</li>
					<li>
				<a href="../aas/MySQLRealm.html#methodauthenticate">MySQLRealm::authenticate()</a>
								: Return the Principal associated with the specified username and  credentials, $if there is one; otherwise return <div class="src-code"><ol><li><div class="src-line"><span class="src-id">null</span></div></li>
</ol></div>.
							</li>
				</ul>
	</div>
<a name="methoddigest" id="digest"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">digest</span> (line <span class="line-number">257</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Digest the password using the specified algorithm and  convert the result to a corresponding hexadecimal string.</p>
<p class="description"><p>If exception, the plain credentials string is returned.</p><p>&lt;strong&gt;IMPLEMENTATION NOTE&lt;/strong&gt; - This implementation is  synchronized because it reuses the MessageDigest instance.  This should be faster than cloning the instance on every request.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			digest
		</span>
					(<span class="var-type">credentials</span>&nbsp;<span class="var-name">$credentials</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">credentials</span>
				<span class="var-name">$credentials</span><span class="var-description">: Password or other credentials to use in   authenticating this username</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetApplicationContext" id="getApplicationContext"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getApplicationContext</span> (line <span class="line-number">110</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the ApplicationContext with which this Realm has been associated.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getApplicationContext
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetContainer" id="getContainer"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getContainer</span> (line <span class="line-number">92</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the Container with which this Realm has been associated.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getContainer
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetDigest" id="getDigest"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getDigest</span> (line <span class="line-number">128</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the digest algorithm  used for storing credentials.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getDigest
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetName" id="getName"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getName</span> (line <span class="line-number">277</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return a short name for this Realm implementation, for use in  log messages.</p>
	<ul class="tags">
				<li><span class="field">abstract:</span> </li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getName
		</span>
				()
			</div>
	
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../aas/MemoryRealm.html#methodgetName">MemoryRealm::getName()</a>
								: Return a short name for this Realm implementation.
							</li>
					<li>
				<a href="../aas/MySQLRealm.html#methodgetName">MySQLRealm::getName()</a>
								: Return a short name for this Realm implementation.
							</li>
				</ul>
	</div>
<a name="methodgetPassword" id="getPassword"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getPassword</span> (line <span class="line-number">283</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the password associated with the given principal's user name.</p>
	<ul class="tags">
				<li><span class="field">abstract:</span> </li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getPassword
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$username</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$username</span>			</li>
				</ul>
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../aas/MemoryRealm.html#methodgetPassword">MemoryRealm::getPassword()</a>
								: Return the password associated with the given principal's user name.
							</li>
					<li>
				<a href="../aas/MySQLRealm.html#methodgetPassword">MySQLRealm::getPassword()</a>
								: Return the password associated with the given principal's user name.
							</li>
				</ul>
	</div>
<a name="methodgetPrincipal" id="getPrincipal"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getPrincipal</span> (line <span class="line-number">289</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the Principal associated with the given user name.</p>
	<ul class="tags">
				<li><span class="field">abstract:</span> </li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getPrincipal
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$username</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$username</span>			</li>
				</ul>
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../aas/MemoryRealm.html#methodgetPrincipal">MemoryRealm::getPrincipal()</a>
								: Return the Principal associated with the given user name.
							</li>
					<li>
				<a href="../aas/MySQLRealm.html#methodgetPrincipal">MySQLRealm::getPrincipal()</a>
								: Return the Principal associated with the given user name.
							</li>
				</ul>
	</div>
<a name="methodgetValidate" id="getValidate"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getValidate</span> (line <span class="line-number">153</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the &quot;validate certificate chains&quot; flag.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getValidate
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodhasMessageDigest" id="hasMessageDigest"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">hasMessageDigest</span> (line <span class="line-number">268</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			hasMessageDigest
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodhasRole" id="hasRole"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">hasRole</span> (line <span class="line-number">214</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return <div class="src-code"><ol><li><div class="src-line"><span class="src-id">true</span></div></li>
</ol></div> if the specified Principal has the specified</p>
<p class="description"><p>security role, within the context of this Realm; otherwise return  <div class="src-code"><ol><li><div class="src-line"><span class="src-id">false</span></div></li>
</ol></div>.  This method can be overridden by Realm  implementations, but the default is adequate when an instance of  <div class="src-code"><ol><li><div class="src-line"><span class="src-id"><a href="../aas/GenericPrincipal.html">GenericPrincipal</a></span></div></li>
</ol></div> is used to represent authenticated  Principals from this Realm.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			hasRole
		</span>
					(<span class="var-type"><a href="../aas/GenericPrincipal.html">GenericPrincipal</a></span>&nbsp;<span class="var-name">$principal</span>, <span class="var-type">role</span>&nbsp;<span class="var-name">$role</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">principal</span>
				<span class="var-name">$principal</span><span class="var-description">: Principal for whom the role is to be checked</span>			</li>
					<li>
				<span class="var-type">role</span>
				<span class="var-name">$role</span><span class="var-description">: Security role to be checked</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetApplicationContext" id="setApplicationContext"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setApplicationContext</span> (line <span class="line-number">120</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the ApplicationContext with which this Realm has been associated.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setApplicationContext
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$applicationContext</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">applicationContext</span>
				<span class="var-name">$applicationContext</span><span class="var-description">: The associated ApplicationContext</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetContainer" id="setContainer"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setContainer</span> (line <span class="line-number">102</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the Container with which this Realm has been associated.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setContainer
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$container</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">container</span>
				<span class="var-name">$container</span><span class="var-description">: The associated Container</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetDigest" id="setDigest"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setDigest</span> (line <span class="line-number">138</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the digest algorithm used for storing credentials.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setDigest
		</span>
					(<span class="var-type">digest</span>&nbsp;<span class="var-name">$digest</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">digest</span>
				<span class="var-name">$digest</span><span class="var-description">: The new digest algorithm</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetValidate" id="setValidate"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setValidate</span> (line <span class="line-number">163</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the &quot;validate certificate chains&quot; flag.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setValidate
		</span>
					(<span class="var-type">validate</span>&nbsp;<span class="var-name">$validate</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">validate</span>
				<span class="var-name">$validate</span><span class="var-description">: The new validate certificate chains flag</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Sun, 10 Feb 2008 15:16:18 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.0</a>
	</p>
	</div></body>
</html>